package cn.south.campus.business.model.enums;

/**
 * <p>
 *
 * </p>
 *
 * @author chow
 * @since 2024/11/13 10:30
 */
public enum Gender {
    UNKNOWN(0, "未知/不限"),
    MALE(1, "男"),
    FEMALE(2, "女");

    private final Integer code;
    private final String desc;

    Gender(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
